package com.guodi.model.entity;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * @描述：项目管理-附件材料表
 * @作者: 徐金洲
 * @日期: 2023-05-06
 */
@ExcelIgnoreUnannotated
@Data
@TableName("ue_project_attachment")
@ApiModel(value="UeProjectAttachment对象", description="附件材料表")
public class UeProjectAttachment implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键id")
    @TableId("ID")
    private String id;

    @ApiModelProperty(value = "关联项目id")
    @TableField("PROJECT_ID")
    private String projectId;

    @ApiModelProperty(value = "附件/目录名称")
    @TableField("FILE_NAME")
    private String fileName;

    @ApiModelProperty(value = "文件路径")
    @TableField("FILE_PATH")
    private String filePath;

    @ApiModelProperty(value = "创建人")
    @TableField("CREATOR")
    private String creator;

    @ApiModelProperty(value = "创建时间")
    @TableField("CREATE_TIME")
    private Date createTime;

    @ApiModelProperty(value = "修改人")
    @TableField("MODIFIER")
    private String modifier;

    @ApiModelProperty(value = "修改时间")
    @TableField("MODIFY_TIME")
    private Date modifyTime;

    @ApiModelProperty(value = "父id")
    @TableField("PARENT_ID")
    private String parentId;

    @ApiModelProperty("附件材料目录树子集")
    @TableField(exist = false)
    private List<UeProjectAttachment> children;
}
